what is final and const verabile in flutter

69

198

Const
Value must be known at compile-time, const birthday  = "2008/12/25"
Can't be changed after initialized.

Final
Value must be known at run-time, final birthday = getBirthDateFromDB()
Can't be changed after initialized.

Comments

Submit
0 Comments